package com.example.shixun.service;

import com.example.shixun.pojo.School;
import com.example.shixun.utils.PageInfoUtil;

import java.util.List;

/**
 * @Author XDW
 * @Version 1.0
 * @date 2023/6/21 12:30
 */
public interface SchoolService {
    public int saveSchool(School school);
    public int deleteSchool(int id);
    public int deleteSchool(String name);
    public School select(int id);
    public School select(String name);
    public PageInfoUtil<School> selectAll(PageInfoUtil<School> pageInfoUtil);
    public int updateSchool(School school);
    public Integer cancelDelete(Integer id);
}
